#ifndef MYCANVAS_H
#define MYCANVAS_H

#include <GL/gl.h>

#include "canvas.h"
#include "cursor.h"
#include "key.h"
#include "scene.h"

class MyCanvas : public TuioCanvas {
    private:
        bool ctrl;
        int pointSize;

    public:
        MyCanvas(Scene *_scene);
        ~MyCanvas(){}

        void onPressCursor(Cursor &cursor);
        void onMoveCursor(Cursor &cursor);
        
        void onPressKey(int key);
        void onReleaseKey(int key);

        void paint();
        void initialize();        
        void resizeCanvas(int width, int height);
};

#endif //MYCANVAS_H
